package org.glut.wechat.videochat.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class testController {
    @Value("${spring.datasource.url}")
    String url;
    @GetMapping("/test")
    public ResponseEntity<String> testConfig() {
        System.out.println(url);
        return ResponseEntity.ok(url);
    }
}
